﻿@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<div>
	<button id="btn">Clickme</button>
	<div id="container">
	</div>
	<form>
		<input type="file" accept
	</form>
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript">
	$("#btn").click(function () {
		try{
			$("#container").html("<iframe width=\"420\" height=\"315\" src=\"http://www.youtube.com/embed/nF2loBxux48\" frameborder=\"0\" allowfullscreen></iframe>");
		}
		catch (exception) {		
		}
	});
</script>

